<template>    
    <div>      
       <el-container>
        <el-header>后台管理</el-header>
        <el-container>
            <el-aside width="200px">
                <el-menu
                    default-active="2"
                    class="el-menu-vertical-demo"
                    background-color="#d3dce6"
                    router 
                >
                    <el-submenu index="1">
                        <template slot="title">
                            <i class="el-icon-location"></i>
                            <span>导航菜单</span>
                        </template>
                        <el-menu-item-group>
                            <el-menu-item index="/user">
                                <i class="el-icon-menu"></i>
                                <span>用户管理</span>
                            </el-menu-item>
                    
                        </el-menu-item-group>    
                    </el-submenu>
                </el-menu>
            </el-aside>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
</el-container>
    </div> 
</template>

<script> 
export default {

   } 
</script>


<style scoped>
.el-container{
    height: 960px;
}

.el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 30px;
  }
</style>